package com.heima.estatemanagement.controller;

import com.heima.estatemanagement.common.Result;
import com.heima.estatemanagement.domain.TbHouse;
import com.heima.estatemanagement.mapper.TbHouseMapper;
import com.heima.estatemanagement.service.TbHouseService;
import com.heima.estatemanagement.service.impl.TbHouseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * @Description: 测试类
 * Created by 86191 on 2022/12/28.
 */
@RequestMapping("test")
@Controller
public class TestController {
    @RequestMapping("toPage")
    public String toPage(){
        return "page";
    }
    @RequestMapping("select")
    public String toSelect(){
        return "select";
    }

    public static void main(String[] args) {

    }

//    @RequestMapping("{path}.html")
//    public String toPath(@PathVariable(value = "path") String path){
//        return path;
//    }
}
